mtd: nand: Add core infrastructure to support SPI NANDs
authorPeter Pan <[email protected]>
Thu, 16 Aug 2018 15:30:12 +0000 (17:30 +0200)
committerJagan Teki <[email protected]>
Thu, 20 Sep 2018 14:40:49 +0000 (20:10 +0530)
commit0a6d6bae03864938f073cc114992c40f2338a155
tree69b01fa2cbb8f1c2aebfd9ff277acb2f12bc8760
parentd13f5b254a43e292814a618f60a2696ba01267a7
mtd: nand: Add core infrastructure to support SPI NANDs

Add a SPI NAND framework based on the generic NAND framework and the
spi-mem infrastructure.

In its current state, this framework supports the following features:

- single/dual/quad IO modes
- on-die ECC

Signed-off-by: Peter Pan <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Acked-by: Jagan Teki <[email protected]>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/spi/Kconfig [new file with mode: 0644]
drivers/mtd/nand/spi/Makefile [new file with mode: 0644]
drivers/mtd/nand/spi/core.c [new file with mode: 0644]
include/linux/mtd/spinand.h [new file with mode: 0644]